using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace TCS.Web.Weibo.WeiBo_Info
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int Id=(Convert.ToInt32(strid));
					ShowInfo(Id);
				}
			}
		}
		
	private void ShowInfo(int Id)
	{
		TCS.BLL.Weibo.WeiBo_Info bll=new TCS.BLL.Weibo.WeiBo_Info();
		TCS.Model.Weibo.WeiBo_Info model=bll.GetModel(Id);
		this.lblId.Text=model.Id.ToString();
		this.lblUId.Text=model.UId.ToString();
		this.lblStatus.Text=model.Status;
		this.lblIn_reply_to_status_id.Text=model.In_reply_to_status_id;
		this.lblPicture.Text=model.Picture.ToString();
		this.lblPostTime.Text=model.PostTime.ToString();
		this.lblState.Text=model.State.ToString();
		this.lblInfoType.Text=model.InfoType.ToString();

	}


    }
}
